import request from "assets/utils/request";

export const getUserInfo = () => {
    return request({
        method: 'post',
        url: '/userinfo'
    })
}
export const editPassword = data => {
    return request({
        method: 'post',
        url: '/userinfo/editpassword',
        data
    })
}
export const getmemberdetail = data => {
    return request({
        method: 'post',
        url: '/user/userinfo',
        data
    })
}

export const updatememberinfo = data => {
    return request({
        method: 'post',
        url: '/user/updateuserinfo',
        data
    })
}
export const updateuserselectinfo = data => {
    return request({
        method: 'post',
        url: '/user/updateuserselectinfo',
        data
    })
}